using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PocketAbapa
{
	public partial class About : Form
	{
		public About()
		{
			InitializeComponent();
			Layout();
		}

		private void OK_Click(object sender, EventArgs e)
		{
			this.Close();
		}

		private void About_Resize(object sender, EventArgs e)
		{
			Layout();
		}

		void Layout()
		{
			Center(KirillOsenkovs);
			Center(ForPocketPC);
			Center(OK);
			Center(Abapa);
			Center(SeparatorBar);
		}

		void Center(Control control)
		{
			control.Left = (this.ClientSize.Width - control.Width) / 2;
		}

		void HorizStretch(Control control)
		{
			control.Left = 0;
			control.Width = this.ClientSize.Width;
		}
	}
}